package myjava.thread;

/**
 * @author Yancy
 * @program springioctest
 * @create 2021-03-03
 */
public class SyncDemo02 {
  public static void main(String[] args) {
    //
      MyTread myTread = new MyTread();
      //定义Thread对象
      Thread t1 = new Thread(myTread);
      Thread t2 = new Thread(myTread);
      Thread t3 = new Thread(myTread);
      t1.start();
      t2.start();
      t3.start();
  }
}
